package com.zadtek.shopmall.activities;

import android.os.Bundle;
import android.view.View;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;

import com.zadtek.shopmall.R;
import com.zadtek.shopmall.base.AbsActivity;

public class DepositActivity extends AbsActivity {
    private EditText etMoney;
    private EditText etInfo;
    private CheckBox wxCheck;
    private CheckBox zfbCheck;
    private TextView tvPaynow;
    private ImageView ivBack;
    private TextView topTitle;

    private void initViews() {
        etMoney = (EditText)findViewById( R.id.et_money );
        etInfo = (EditText)findViewById( R.id.et_info );
        wxCheck = (CheckBox)findViewById( R.id.wx_check );
        zfbCheck = (CheckBox)findViewById( R.id.zfb_check );
        tvPaynow = (TextView)findViewById( R.id.tv_paynow );
        ivBack = (ImageView) findViewById(R.id.ic_back);
        ivBack.setVisibility(View.VISIBLE);
        topTitle = (TextView) findViewById(R.id.title);
        topTitle.setText("充值");
    }

    @Override
    public int setView() {
        return R.layout.activity_deposit;
    }

    @Override
    public void initBasic(Bundle savedInstanceState) {
        initViews();
        initLogic();

    }

    private void initLogic() {
        ivBack.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}
